package com.xiaopang.order.service.enums;

import lombok.Getter;

/**
 * orderStatus枚举
 */
@Getter
public enum OrderStatusEnum {
    NEW(0, "新下单"), FINISHED(1, "已完结"), CANCEL(2, "取消");

    private int code;

    private String message;

    OrderStatusEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }
}
